Initializes a new instance of the StockPriceSeries class.
Namespace: MindFusion.Charting
File: StockPriceSeries.js
SyntaxJavaScript
Copy Code
|
|---|
function StockPriceSeries (values) |
Type: List | Array
A list of StockPrice objects.
ExampleThe following code creates a new StockPriceSeries with an array of 5 StockPrice objects:
JavaScript
Copy Code
|
|---|
var stockData = [ // create sample data var series = new StockPriceSeries(dataList); |
See Also